
public class AdmitBedReadyEvent extends EventBase{

	public AdmitBedReadyEvent(PatientBase patient) {
		super(patient);
		duration = 0;
	}
	
	public void execute() {
		super.execute();
		patient.available = true;
		patient.assignedBed = true;
		patient.events.remove(EventType.AdmitBedReadyEvent);
	}
}